package com.sunu.dao;

import com.sunu.entity.job.Job;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by i on 2019/9/20.
 */
public interface JobDao {

    Job selectByName(String jobName);

    Job selectById(int jobId);

    List<Job> queryAllJob();

    void deleteById(int jobId);

    void insertJob(Job job);
}
